tinyMCE_GZ.init({
plugins : "table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,zoom,media,searchreplace,directionality,fullscreen",
themes : "advanced",
languages : "en",
disk_cache : true,
debug : false
});
if (window.attachEvent)
window.attachEvent( "onload", InitTiny );
else
window.addEventListener( "load", InitTiny, false);
function InitTiny() {
// Notice: The simple theme does not use all options some of them are limited to the advanced theme
tinyMCE.init({
convert_urls : false,
mode : "specific_textareas",
theme : "advanced",
editor_selector : /(group_edit_html|story_edit_area|classfiedsTextArea|blogText|comment_textarea|form_input_html)/,
plugins : "table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,media,searchreplace,directionality,fullscreen",
theme_advanced_buttons1_add : "fontselect,fontsizeselect",
theme_advanced_buttons2_add_before: "cut,copy,paste,pastetext,pasteword,image,separator,search,replace,separator",
theme_advanced_buttons2_add : "separator,insertdate,inserttime,separator,forecolor,backcolor",
theme_advanced_buttons3_add : "emotions",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_statusbar_location : "bottom",
plugi2n_insertdate_dateFormat : "%Y-%m-%d",
plugi2n_insertdate_timeFormat : "%H:%M:%S",
theme_advanced_resizing : false,
theme_advanced_resize_horizontal : false,
entity_encoding : "raw",
paste_use_dialog : false,
paste_auto_cleanup_on_paste : true,
paste_convert_headers_to_strong : false,
paste_strip_class_attributes : "all",
paste_remove_spans : false,
paste_remove_styles : false
});
} 